<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ProjectMainBody extends Model {

	//
	protected $table = 'project_main_body';
	protected $fillable = ["mb_id", "project_id"];

	public function mainBody()
	{
		return $this->hasOne("App\Models\MainBody", "id", "mb_id");
	}
}
